# Uncomment the next line to define a global platform for your project
 platform :ios, '13.0'

target 'LYOnlineBanking' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  pod 'SnapKit', '~> 5.6.0'
  pod 'LookinServer', :configurations => ['Debug'] # 仅 Debug 环境安装
  pod 'Alamofire', '~> 5.6'
  pod 'MBProgressHUD'
  pod 'SDWebImage'
  pod 'MJRefresh'
  pod 'FBSDKCoreKit'
  pod 'IQKeyboardManagerSwift'

  # Pods for LYOnlineBanking

  target 'LYOnlineBankingTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'LYOnlineBankingUITests' do
    # Pods for testing
  end

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      # 这里改为13.0以保持与platform一致
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
      
      # 添加的额外设置（解决arm64模拟器问题）
      config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
    end
  end
end
